From 3df8e4dd0e14ecc4221ef5f05eebeac1c9949a3d Mon Sep 17 00:00:00 2001 From: Sergio Costas Rodriguez Date: Thu, 16 Apr 2026 13:41:47 +0200 Subject: [PATCH] dash: Don't notify two elements for each icon When the user uses a screen reader and navigates through the dash, each element is notified as two: one panel with no label, and then a button with the application name as the label. This is because each icon has the BUTTON role, but is inside a container with the PANEL role, so each time the focus changes from an icon to the next, there is a change in the container, so the screen reader notifies this. But that container is useless for the screen reader. The container always read its label because the label_actor property is set. This patch fixes this. Part-of: --- js/ui/dash.js | 1 - 1 file changed, 1 deletion(-) diff --git a/js/ui/dash.js b/js/ui/dash.js index 8dc16dc6a..9ebd348ee 100644 --- a/js/ui/dash.js +++ b/js/ui/dash.js @@ -65,7 +65,6 @@ class DashItemContainer extends St.Widget { this.label.hide(); Main.layoutManager.addChrome(this.label); this.label.connectObject('destroy', () => (this.label = null), this); - this.label_actor = this.label; this.child = null; this.animatingOut = false; -- 2.39.5